<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>首页</title>
<meta name="keywords" content="keywords" />
<meta name="description" content="description" />
<{include file="block/meta.tpl"}>
<link type="text/css" rel="stylesheet" href="<{$__HST_UI}>/css<{$_The.ScriptBase}>.css" />
</head>
<body>
<div id="wrap">
<{include file="block/header.tpl"}>

<div id="media">
	<div id="mediaPic"><a href="/artwork/detail.php?id=<{$rBestWork.id}>"><img src="<{$__HST_STO}><{$rBestWork.ad_img1_url}>"><span class="mask"></span></a></div>
	<div id="mediaTxt" class="<{if 'dollor'==$smarty.session.MONEY}>dollor<{else}>yang<{/if}>">
		<h1><{$rBestWork.title|escape:html}></h1>
		<h2><{$rBestWork.owner_id|uUser_i18n:sign|escape:html}></h2>
		<div id="vProperty">
			<ul>
				<li><{'work_category'|i18n|escape:html}>:</li>
				<li><{'work_year'|i18n|escape:html}>:</li>
				<li><{'work_size'|i18n|escape:html}>:</li>
			</ul>
		</div>
		<div id="vValue">
			<ul>
				<li><{$rCtgry.id|uCategory_i18n:title|escape:html}></li>
				<li><{$rBestWork.year|escape:html}></li>
				<li><{$rBestWork.id|uWork_i18n:size|escape:html}></li>
			</ul>
		</div>
		<div class="price"><{$rBestWork|@uWork_Price|escape:html}></div>
		<form id="fm_buy" method="get" action="/buy/cart.php" target="_blank">
		<input type="hidden" name="action" value="add" />
		<input type="hidden" name="id" value="<{$rBestWork.id}>" />
		<input type="hidden" name="quantity" value="1" />
		</form>
		<a href="javascript:$('#fm_buy').submit();void(0);" class="buyBtn"></a>   
	</div>
</div>
<div id="line"></div>
<div class="listBox" id="<{if 'dollor'==$smarty.session.MONEY}>dollor<{else}>yang<{/if}>">
	<ul class="hoverList">
<{section name=i loop=$rGoodWorks}>
		<li>
			<a class="hovPic" href="/artwork/detail.php?id=<{$rGoodWorks[i].id}>" target="_blank"><img src="<{$rGoodWorks[i].thumb|uWork_thumb:$rGoodWorks[i].id:'166x166.jpg'}>" width="166" height="166"><span class="icon"><p class="st"><{$rGoodWorks[i].id|uWork_i18n:title|escape:html}></p><p><{$rGoodWorks[i].owner_id|uUser_i18n:sign|escape:html}></p><p><{if 'en'==$smarty.session.LANG}><{$rGoodWorks[i].stock_max}> Limited<{else}>限量<{$rGoodWorks[i].stock_max}><{/if}></p></span></a>
			<a class="hover" href="/artwork/detail.php?id=<{$rGoodWorks[i].id}>" target="_blank"><span><{$rGoodWorks[i]|@uWork_Price|escape:html}><div class="ico"></div></span></a>
		</li>
<{/section}>
	</ul>
</div>
<div id="line2"><a class="more" href="/artwork/list.php"><span class="ico"></span></a></div>


<{include file="block/footer.tpl"}>
</div>
</body>
</html>
